package net.lzzy.dao;

import net.lzzy.entity.Article;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;

public interface ArticleRepository extends JpaRepository<Article, Integer> {

    public Optional<Article> findById(Integer id);

}
